package cn.wanda.bi.sunshine.platform.server.bean.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@ApiModel
public class DimColumnLabel implements Serializable {
    @ApiModelProperty("")
    private String columnCategory;

    @ApiModelProperty("")
    private String columnId;

    @ApiModelProperty("")
    private String columnName;

    @ApiModelProperty("")
    private String columnType;

    @ApiModelProperty("")
    private Integer isValid;

    @ApiModelProperty("")
    private String boxFlag;

    @ApiModelProperty("")
    private String currentValue;

    @ApiModelProperty("")
    private String databaseSource;

    @ApiModelProperty("")
    private String tableSource;

    @ApiModelProperty("")
    private String columnSource;

    @ApiModelProperty("")
    private String conditionSource;

    @ApiModelProperty("")
    private String version;

    @ApiModelProperty("")
    private String source;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dim_column_label
     *
     * @mbggenerated Fri Aug 04 17:20:21 CST 2017
     */
    private static final long serialVersionUID = 1L;

    public String getColumnCategory() {
        return columnCategory;
    }

    public void setColumnCategory(String columnCategory) {
        this.columnCategory = columnCategory == null ? null : columnCategory.trim();
    }

    public String getColumnId() {
        return columnId;
    }

    public void setColumnId(String columnId) {
        this.columnId = columnId == null ? null : columnId.trim();
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName == null ? null : columnName.trim();
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType == null ? null : columnType.trim();
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public String getBoxFlag() {
        return boxFlag;
    }

    public void setBoxFlag(String boxFlag) {
        this.boxFlag = boxFlag == null ? null : boxFlag.trim();
    }

    public String getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(String currentValue) {
        this.currentValue = currentValue == null ? null : currentValue.trim();
    }

    public String getDatabaseSource() {
        return databaseSource;
    }

    public void setDatabaseSource(String databaseSource) {
        this.databaseSource = databaseSource == null ? null : databaseSource.trim();
    }

    public String getTableSource() {
        return tableSource;
    }

    public void setTableSource(String tableSource) {
        this.tableSource = tableSource == null ? null : tableSource.trim();
    }

    public String getColumnSource() {
        return columnSource;
    }

    public void setColumnSource(String columnSource) {
        this.columnSource = columnSource == null ? null : columnSource.trim();
    }

    public String getConditionSource() {
        return conditionSource;
    }

    public void setConditionSource(String conditionSource) {
        this.conditionSource = conditionSource == null ? null : conditionSource.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dim_column_label
     *
     * @mbggenerated Fri Aug 04 17:20:21 CST 2017
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        DimColumnLabel other = (DimColumnLabel) that;
        return (this.getColumnCategory() == null ? other.getColumnCategory() == null : this.getColumnCategory().equals(other.getColumnCategory()))
            && (this.getColumnId() == null ? other.getColumnId() == null : this.getColumnId().equals(other.getColumnId()))
            && (this.getColumnName() == null ? other.getColumnName() == null : this.getColumnName().equals(other.getColumnName()))
            && (this.getColumnType() == null ? other.getColumnType() == null : this.getColumnType().equals(other.getColumnType()))
            && (this.getIsValid() == null ? other.getIsValid() == null : this.getIsValid().equals(other.getIsValid()))
            && (this.getBoxFlag() == null ? other.getBoxFlag() == null : this.getBoxFlag().equals(other.getBoxFlag()))
            && (this.getCurrentValue() == null ? other.getCurrentValue() == null : this.getCurrentValue().equals(other.getCurrentValue()))
            && (this.getDatabaseSource() == null ? other.getDatabaseSource() == null : this.getDatabaseSource().equals(other.getDatabaseSource()))
            && (this.getTableSource() == null ? other.getTableSource() == null : this.getTableSource().equals(other.getTableSource()))
            && (this.getColumnSource() == null ? other.getColumnSource() == null : this.getColumnSource().equals(other.getColumnSource()))
            && (this.getConditionSource() == null ? other.getConditionSource() == null : this.getConditionSource().equals(other.getConditionSource()))
            && (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion()))
            && (this.getSource() == null ? other.getSource() == null : this.getSource().equals(other.getSource()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dim_column_label
     *
     * @mbggenerated Fri Aug 04 17:20:21 CST 2017
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getColumnCategory() == null) ? 0 : getColumnCategory().hashCode());
        result = prime * result + ((getColumnId() == null) ? 0 : getColumnId().hashCode());
        result = prime * result + ((getColumnName() == null) ? 0 : getColumnName().hashCode());
        result = prime * result + ((getColumnType() == null) ? 0 : getColumnType().hashCode());
        result = prime * result + ((getIsValid() == null) ? 0 : getIsValid().hashCode());
        result = prime * result + ((getBoxFlag() == null) ? 0 : getBoxFlag().hashCode());
        result = prime * result + ((getCurrentValue() == null) ? 0 : getCurrentValue().hashCode());
        result = prime * result + ((getDatabaseSource() == null) ? 0 : getDatabaseSource().hashCode());
        result = prime * result + ((getTableSource() == null) ? 0 : getTableSource().hashCode());
        result = prime * result + ((getColumnSource() == null) ? 0 : getColumnSource().hashCode());
        result = prime * result + ((getConditionSource() == null) ? 0 : getConditionSource().hashCode());
        result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
        result = prime * result + ((getSource() == null) ? 0 : getSource().hashCode());
        return result;
    }
}